﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using System.Data;
using XBLib.Dal.AdoDal;
using DataInfo;

namespace KenLib.Dal
{
    public class 制服情報Dao : BaseAdoDao
    {
        public void UpdateInfo制服情報(制服情報 obj)
        {
            DbParameter param廃止区分 = _daoHelper.CreateParameter("@廃止区分", obj.廃止区分, DbType.Int32);
            DbParameter param胸囲 = _daoHelper.CreateParameter("@胸囲", obj.胸囲, DbType.Double);
            DbParameter param胴回り = _daoHelper.CreateParameter("@胴回り", obj.胴回り, DbType.Double);
            DbParameter param足サイズ = _daoHelper.CreateParameter("@足サイズ", obj.足サイズ, DbType.String);
            DbParameter param社員ID = _daoHelper.CreateParameter("@社員ID", obj.社員ID, DbType.Int32);

            DbCommand dbcommand = _daoHelper.CreateCommand("sp_update_制服情報_FormJ_Hunglt", CommandType.StoredProcedure,
               param廃止区分, param胸囲, param胴回り, param足サイズ, param社員ID);
            _daoHelper.Execute(dbcommand);
        }
    }
}
